/*
 * @(#) CommentService.java 2018年3月9日 下午4:32:32
 *
 * Copyright 2018 CIMIP, Inc. All rights reserved.
 * H-VISIONS PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */package cn.hc.share.service;

import java.util.List;

import cn.hc.share.entity.Answer;
import cn.hc.share.entity.Comment;

public interface CommentService extends BaseService
{

	//获取文章的所有评论
	List<Comment> getComment(String articleId);

	//保存评论信息
	Comment saveComment(String articleId, String userId, String commentContent);

	//保存回复信息
	Answer saveAnswer(String userId,String commentId,String replyUserId,String answerContent);

	//删除评论\回复
	int removeComments(String id, String type);

	
}
